@import '../../assets/scss/var.scss';

// 登陆注册盒子
.sign-box {
  width: 100%;
  height: 100%;
  background: $theme1;
  display: flex;
  justify-content: center;
  align-items: center;

  .sign {
    font-size: 14px;
    max-width: 300px;
    width: 80%;
    margin: 0 auto;

    .header {
      cursor: pointer;
      color: $white;
      background: $theme4;
      display: flex;

      .list {
        flex: 1;
        height: 40px;
        line-height: 40px;
        text-align: center;

        &:hover {
          background: $theme6;
        }
      }

      .active {
        background: $theme6;
      }
    }

    .content {
      width: auto;
      min-height: 260px;
      border: 1px solid $theme4;
      border-top: none;
      font-size: 16px;
      position: relative;
      overflow: hidden;

      .list {
        max-width: 300px;
        width: 100%;
        position: absolute;
        top: 0;
        left: 100%;
        z-index: 1;
        transition: left .3s;
      }

      .active {
        left: 0;
      }
    }
  }
}